<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>修改课程</title>
    <link href="__CSS__/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="__CSS__/font-awesome.css?v=4.4.0" rel="stylesheet">


    <link href="__CSS__/animate.css" rel="stylesheet">
    <link href="__CSS__/style.css?v=4.1.0" rel="stylesheet">
    <link href="__CSS__/admin/Course/updateshow.css" rel="stylesheet">

    <!--<script src="__JS__/jquery-1.11.3.js"></script>-->
    <!--<script src="__JS__/jquery.validate.js" ></script>-->
    <script src="http://static.runoob.com/assets/jquery-validation-1.14.0/lib/jquery.js"></script>
    <script src="http://static.runoob.com/assets/jquery-validation-1.14.0/dist/jquery.validate.min.js"></script>
    <script src="http://static.runoob.com/assets/jquery-validation-1.14.0/dist/localization/messages_zh.js"></script>


</head>
<body>
{block name="body"}
<div style="   width:100%;
    height:7%;
    background-image:url('__IMAGES__/QQ图片20170717152104.png') ;
background-size: 100% 100%;"></div>
<div class="back" onclick="back()">《--返回上一页</div>
<div class="index">

    <form id="forms" >
        <p><div class="title">课程名字</div>  <input type="text"  name="record_name"  value="{$array.record_name}"></p>
        <p><div class="title">课程归属类别</div>
        <select   name="category"  id="fine" style="display:inline-block;" >
            {volist name="array1" id="val"}
            {if condition="($val.record_name eq $array.category)"}
            <option  selected="true" value="{$val.record_name}">{$val.record_name}</option>
            {else/}
            <option value="{$val.record_name}">{$val.record_name}</option>
            {/if}

            {/volist}
        </select>


        </p>
        <p><div class="title">课程简介</div>  <input  name="introduce"  value="{$array.introduce}"></p>
        <p><div class="title">课程难度</div>

        <select   name="difficulty" >
        <option value="中等">中等</option>
        <option value="困难">困难</option>
        <option value="简单">简单</option>
    </select>
        </p>
        <p><div class="title">课程收费 ：</div>  <input type="text" name="charge"   value="{$array.charge}"></p>
        <input type="hidden" name="id" value="{$array.id}">
        <!--<input type="submit" value="123">-->
        <div class="text-center" style="width: 100%">
            <button type="submit" class="btn btn-lg">确认修改</button>
        </div>
    </form>
</div>
<div class="daziti" > ! </div>

   <h1  class="warning"> 没有修改内容会修改失败</h1>




{/block}
</body>
</html>
{block name="js"}
<script>
    var url="{:url('Course/update')}";
    var locationurl="{:url('Course/read')}";
//    $(function () {
        // alert(123);
//        alert($("#form"));\
//        debugger;

//    });
</script>
<script src="__JS__/admin/Course/updateshow.js"></script>
{/block}